package com.github.xuankaicat;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProviderController {

    @LoadBalanced
    @GetMapping("/provider/hello")
    public String hello(){
        System.out.println("我被调用了");
        return "Provider hello";
    }
}
